/**
 * @User: vitobo
 * @Date: 2024-06-11
 * @Description:
 */
public class Test5 {

    public static void main(String[] args) {
        // 自动拆箱
        Integer a = 1;
        int b = a;
        float f = a.floatValue();
        long l = a.longValue();
    }

    public static void main1(String[] args) {
        // 自动装箱
        int a = 10;
        Integer b = new Integer(20);
        Integer c = 30;
        Integer d = Integer.valueOf(40);
    }
}
